package main

import (
	"fmt"
	"reflect"
)

type NewAnimal struct {
	Name string
}

type NewPet struct {
	Name string
}

type NewDog struct {
	Name string
}

func main() {
	animal := NewAnimal{"中华田园犬"}
	pet := NewPet{"泰迪"}

	animalType := reflect.TypeOf(animal)
	fmt.Println("animal type:", animalType)
	fmt.Println("animal value of :", reflect.ValueOf(animal))
	fmt.Printf("%+v", pet)
}
